package com.faithnmn.learnenglishbc.util;

import java.util.ArrayList;

public class LoadNextLessonUtil {
	public static ArrayList<String> loadNextLessionAudioInfo(int seriIndex,int lessionIndex){
		ArrayList<String> result = new ArrayList<String>(3);
		String audioName = LessonAudio.ep1;
		String lessionName = LessonUtil.getLessionList(seriIndex).get(lessionIndex).udTitle;
		String lessionData = null;
		if(seriIndex == 0){
			switch (lessionIndex) {
			case 0:
				audioName = LessonAudio.ep1;
				lessionData = LessonLyrics.ep1;
				break;
			case 1:
				audioName = LessonAudio.ep2;
				lessionData = LessonLyrics.ep2;
				break;
			case 2:
				audioName = LessonAudio.ep3;
				lessionData = LessonLyrics.ep3;
				break;
			case 3:
				audioName = LessonAudio.ep4;
				lessionData = LessonLyrics.ep4;
				break;
			case 4:
				audioName = LessonAudio.ep5;
				lessionData = LessonLyrics.ep5;
				break;
			case 5:
				audioName = LessonAudio.ep6;
				lessionData = LessonLyrics.ep6;
				break;
			case 6:
				audioName = LessonAudio.ep7;
				lessionData = LessonLyrics.ep7;
				break;
			case 7:
				audioName = LessonAudio.ep8;
				lessionData = LessonLyrics.ep8;
				break;
			case 8:
				audioName = LessonAudio.ep9;
				lessionData = LessonLyrics.ep9;
				break;
			case 9:
				audioName = LessonAudio.ep10;
				lessionData = LessonLyrics.ep10;
				break;
			case 10:
				audioName = LessonAudio.ep11;
				lessionData = LessonLyrics.ep11;
				break;
			case 11:
				audioName = LessonAudio.ep12;
				lessionData = LessonLyrics.ep12;
				break;
			default:
				break;
			}
		}else if(seriIndex == 1){
			switch (lessionIndex) {
			case 0:
				audioName = LessonAudio.ep1_s2;
				lessionData = LessonLyrics.ep1_s2;
				break;
			case 1:
				audioName = LessonAudio.ep2_s2;
				lessionData = LessonLyrics.ep2_s2;
				break;
			case 2:
				audioName = LessonAudio.ep3_s2;
				lessionData = LessonLyrics.ep3_s2;
				break;
			case 3:
				audioName = LessonAudio.ep4_s2;
				lessionData = LessonLyrics.ep4_s2;
				break;
			case 4:
				audioName = LessonAudio.ep5_s2;
				lessionData = LessonLyrics.ep5_s2;
				break;
			case 5:
				audioName = LessonAudio.ep6_s2;
				lessionData = LessonLyrics.ep6_s2;
				break;
			case 6:
				audioName = LessonAudio.ep7_s2;
				lessionData = LessonLyrics.ep7_s2;
				break;
			case 7:
				audioName = LessonAudio.ep8_s2;
				lessionData = LessonLyrics.ep8_s2;
				break;
			case 8:
				audioName = LessonAudio.ep9_s2;
				lessionData = LessonLyrics.ep9_s2;
				break;
			case 9:
				audioName = LessonAudio.ep10_s2;
				lessionData = LessonLyrics.ep10_s2;
				break;
			case 10:
				audioName = LessonAudio.ep11_s2;
				lessionData = LessonLyrics.ep11_s2;
				break;
			case 11:
				audioName = LessonAudio.ep12_s2;
				lessionData = LessonLyrics.ep12_s2;
				break;
			}
		}else if(seriIndex == 2){
			switch (lessionIndex) {
			case 0:
				audioName = LessonAudio.ep1_s3;
				lessionData = LessonLyrics.ep1_s3;
				break;
			case 1:
				audioName = LessonAudio.ep2_s3;
				lessionData = LessonLyrics.ep2_s3;
				break;
			case 2:
				audioName = LessonAudio.ep3_s3;
				lessionData = LessonLyrics.ep3_s3;
				break;
			case 3:
				audioName = LessonAudio.ep4_s3;
				lessionData = LessonLyrics.ep4_s3;
				break;
			case 4:
				audioName = LessonAudio.ep5_s3;
				lessionData = LessonLyrics.ep5_s3;
				break;
			case 5:
				audioName = LessonAudio.ep6_s3;
				lessionData = LessonLyrics.ep6_s3;
				break;
			case 6:
				audioName = LessonAudio.ep7_s3;
				lessionData = LessonLyrics.ep7_s3;
				break;
			case 7:
				audioName = LessonAudio.ep8_s3;
				lessionData = LessonLyrics.ep8_s3;
				break;
			case 8:
				audioName = LessonAudio.ep9_s3;
				lessionData = LessonLyrics.ep9_s3;
				break;
			case 9:
				audioName = LessonAudio.ep10_s3;
				lessionData = LessonLyrics.ep10_s3;
				break;
			case 10:
				audioName = LessonAudio.ep11_s3;
				lessionData = LessonLyrics.ep11_s3;
				break;
			case 11:
				audioName = LessonAudio.ep12_s3;
				lessionData = LessonLyrics.ep12_s3;
				break;
			}
		}else{
			switch (lessionIndex) {
			case 0:
				audioName = LessonAudio.ep1_s4;
				lessionData = LessonLyrics.ep1_s4;
				break;
			case 1:
				audioName = LessonAudio.ep2_s4;
				lessionData = LessonLyrics.ep2_s4;
				break;
			case 2:
				audioName = LessonAudio.ep3_s4;
				lessionData = LessonLyrics.ep3_s4;
				break;
			case 3:
				audioName = LessonAudio.ep4_s4;
				lessionData = LessonLyrics.ep4_s4;
				break;
			case 4:
				audioName = LessonAudio.ep5_s4;
				lessionData = LessonLyrics.ep5_s4;
				break;
			case 5:
				audioName = LessonAudio.ep6_s4;
				lessionData = LessonLyrics.ep6_s4;
				break;
			case 6:
				audioName = LessonAudio.ep7_s4;
				lessionData = LessonLyrics.ep7_s4;
				break;
			case 7:
				audioName = LessonAudio.ep8_s4;
				lessionData = LessonLyrics.ep8_s4;
				break;
			case 8:
				audioName = LessonAudio.ep9_s4;
				lessionData = LessonLyrics.ep9_s4;
				break;
			case 9:
				audioName = LessonAudio.ep10_s4;
				lessionData = LessonLyrics.ep10_s4;
				break;
			case 10:
				audioName = LessonAudio.ep11_s4;
				lessionData = LessonLyrics.ep11_s4;
				break;
			case 11:
				audioName = LessonAudio.ep12_s4;
				lessionData = LessonLyrics.ep12_s4;
				break;
			}
		}
		result.add(audioName);
		result.add(lessionName);
		result.add(lessionData);
		return result;
	}
}
